<div class="row">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li>
				<a href="#" onclick="toHome()">
					主页
				</a>
			</li>
			<li class="active">
				参数管理
			</li>
		</ol>
	</div>
</div>
<form role="form" class="form-horizontal">
	<div class="row page-cont">
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 cont-top">
			<div class="panel panel-white">
				<div class="panel-heading">
					<h4 class="panel-title">
						<span class="title-text">参数管理</span>
					</h4>
					<div class="panel-tools">
						<div class="dropdown">
							<a data-toggle="dropdown" class="btn btn-xs dropdown-toggle btn-transparent-grey">
								<i class="fa fa-cog"></i>
							</a>
							<ul class="dropdown-menu dropdown-light pull-right" role="menu">
								<li>
									<a class="panel-collapse collapses" href="#"><i class="fa fa-angle-up"></i> <span>折叠</span> </a>
								</li>
								<li>
									<a class="panel-expand" href="#">
										<i class="fa fa-expand"></i> <span>全屏</span>
									</a>
								</li>
							</ul>
						</div>
						<a class="btn btn-xs btn-link panel-close" href="#">
							<i class="fa fa-times"></i>
						</a>
					</div>
				</div>
				<div class="panel-body">
					<div class="row">
						<div class="col-sm-12">
							<button type="button" class="btn btn-success bt-sm parameter-btn1">添加国际化参数<i class="fa fa-plus"></i></button>
							<button type="button" class="btn btn-success btn-sm parameter-btn2">添加非国际化参数<i class="fa fa-plus"></i></button>
						</div>
					</div>
					
				</div>
			</div>
		</div>
	</div>
</form>
<script>

	/**********************************************变量**********************************************/
	var username = GetQueryString("username");      // 用户姓名
	var token = MXCookie.get("token",token);        // 登陆token   

	/**********************************************事件**********************************************/

	// 添加国际化参数
	changePage($(".parameter-btn1"),"type1");

	// 添加非国际化参数 
	changePage($(".parameter-btn2"),"type2");
	
	

	/**********************************************函数**********************************************/
	// 跳转
	function changePage(tag,type){
		tag.click(function(){
			$(".pageAdd").attr("data-type",type);
			url = 'view/parameterManage/add-parameter.html';
	        getPage(url);			
		});
	}	
			
</script>
